package com.wsd.web;

import com.wsd.common.Result;
import com.wsd.constant.ResultCode;
import org.springframework.util.StringUtils;

/**
 * @author zhangqizeng
 * 管理员各种操作接口
 */
public class ManagerController {

    public Result doLogin(String notesId, String passWord){
        Result result = new Result();
        //检查参数
        if(StringUtils.isEmpty(notesId) || StringUtils.isEmpty(passWord)){
            result.setResultCode(ResultCode.PARAM_IS_BLANK);
            result.setSuccess(false);
            return result;
        }
        //TODO

        return result;
    }

}
